package com.nanjia.boot.outboundorder.converter;

import com.nanjia.boot.outboundorder.model.entity.OutboundOrder;
import com.nanjia.boot.outboundorder.model.form.OutboundOrderForm;
import org.mapstruct.Mapper;

/**
 * 商品出库记录对象转换器
 *
 * @author 周洋
 * @since 2025-08-22 17:57
 */
@Mapper(componentModel = "spring")
public interface OutboundOrderConverter{

    OutboundOrderForm toForm(OutboundOrder entity);

    OutboundOrder toEntity(OutboundOrderForm formData);
}